package netective;

import javax.xml.ws.Endpoint;

import netective.api.analyzer.PacketAnalyzer;
import netective.api.gatherer.Captor;
import netective.engine.Engine;
import netective.soap.SoapMessenger;
import netective.soap.SoapMessengerImpl;

/**
 *
 * @author bartek
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) 
    {
    	Captor manager = new Captor();
        manager.printDevicesDetails();
        PacketAnalyzer pa = new PacketAnalyzer();
        pa.start();
        SoapMessenger implementor = new SoapMessengerImpl();
		String address = "http://0.0.0.0:8888/netective";
		Endpoint.publish(address, implementor);
        Engine e = new Engine();
        e.closeCaptor();
    }

}
